## 模板1
import os

env = None
Enable_Clang = True
# 1.编译器
if Enable_Clang and os.system("which clang") == 0:
    # clang编译器
    env = Environment(tools=["default", "clang"])
    env["CC"] = ["clang"]
    env["CXX"] = ["clang++"]
else:
    env = Environment()

env["PROGSUFFIX"] = ".out"  # 可执行后缀.out
env["CCFLAGS"] = " -ggdb3 -O0"  # gdb 调试开关
env["CCFLAGS"] += " -Wall -Wextra -Wpedantic"  # 详细的编译检查 警告

env.Program("1_rand_随机数.c")
